using System.Collections;
using System.Collections.Generic;
using GameManager.Event;
using UnityEngine;

public class AttackEvent : GameEventArgs
{
    public static int EventId = typeof(AttackEvent).GetHashCode();
    public override int Id
    {
        get
        {
            return EventId;
        }
    }

    public GameObject Target;
    public int type; // 0是队友。1是敌人
    public float BeforePercent; // 受击前的血量百分比
    public float AfterPercent;
    public Vector3 Offset;
    public bool IsPersistence = false;

}
